<template>
  <basic-container :btnFlag=true>
    <div class="card-border">
      <card-header :header-data="headerData"></card-header>
      <subject-detail :id="id"></subject-detail>
      <div class="form-submit">
        <el-button type="info" @click.stop="goBack()">关闭</el-button>
      </div>
    </div>
  </basic-container>
</template>

<script>
  import subjectDetail from "@/components/subject/detail"

  export default {
    name: "subjectDetailPage",
    components: {
      subjectDetail,
    },
    created() {
      this.detail = []
    },
    computed: {

    },
    data() {
      return {
        headerData: {
          title: '课题详细信息'
        },
        id: Number(this.$route.query.id),
      }
    },
    methods: {
      goBack() {
        this.$router.go(-1);
      }
    }
  }
</script>

<style ang="scss" scoped>

</style>
